package com.pg.agent.engine.service.service;


import com.pg.agent.engine.client.message.InPutMessage;
import com.pg.agent.engine.client.model.action.Action;
import com.pg.agent.engine.client.model.agent.AIAgent;
import com.pg.agent.engine.client.model.agent.AgentActionBO;
import com.pg.agent.engine.client.model.agent.AgentCompileResult;
import com.pg.agent.engine.client.model.sop.Memory;



/**
 * Aigent与 业务Agent转换service
 *
 * @author huhuaping
 * @date 2023/11/14 18:15
 */
public interface AIAgentService {


    AIAgent initUserAgent(String userName);

    void updateMemory(AIAgent agent, InPutMessage message, Memory memory);

    Action step(AgentActionBO agentActionBO);

    AgentCompileResult act(AgentActionBO agentActionBO);

    AgentCompileResult compile(AgentActionBO agentActionBO);

    void updateMemory(InPutMessage inPutMessage, Memory memory);
}
